import requests
from lxml import etree

headers = {
	"user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36",
	"cookie": 'dbcl2="288225416:arB+ljObU0s"'
}

start = 0
res = requests.get(f"https://movie.douban.com/top250?start={start}&filter=", headers=headers)
tree = etree.HTML(res.text)
title = tree.xpath('//title/text()')[0]
print(title)